

import request from '@/utils/request'

export function listDeviceInOut(query) {
  return request({
    url: '/system/deviceInOut/list',
    method: 'get',
    params: query
  })
}
export function delDeviceInOut(compFeeIds) {
  return request({
    url: '/system/deviceInOut/' + compFeeIds,
    method: 'delete'
  })
}
export function itemList(query) {
  return request({
    url: '/system/deviceInOut/itemList',
    method: 'get',
    params: query
  })
}
export function deviceInOutAdd(data) {
  return request({
    url: '/system/deviceInOut',
    method: 'post',
    data: data
  })
}
export function updategdeviceInOut(data) {
  return request({
    url: '/system/deviceInOut',
    method: 'put',
    data: data
  })
}
export function deviceInOutInfo(query) {
  return request({
    url: '/system/deviceInOut/' + query,
    method: 'get',
  })
}